package com.example.wanbaqian.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.wanbaqian.R;
import com.example.wanbaqian.base.BaseActivity;
import com.zhy.autolayout.AutoLinearLayout;

import butterknife.BindView;

/**
 * 手机运营商
 */
public class MobileOperatorActivity extends BaseActivity {

    @BindView(R.id.info_hint)
    TextView infoHint;
    @BindView(R.id.info_qqTitle)
    TextView infoQqTitle;
    @BindView(R.id.info_qqEt)
    EditText infoQqEt;
    @BindView(R.id.info_wxTitle)
    TextView infoWxTitle;
    @BindView(R.id.info_wxEt)
    EditText infoWxEt;
    @BindView(R.id.info_emailLayout)
    AutoLinearLayout infoEmailLayout;
    @BindView(R.id.info_wbLayout)
    AutoLinearLayout infoWbLayout;
    @BindView(R.id.info_mobile)
    TextView infoMobile;
    @BindView(R.id.info_ok)
    Button infoOk;

    @Override
    protected int getLayout() {
        return R.layout.activity_social_software;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        setStatusBarColor(R.color.main_color);
        setToolBar("常用社交软件");
        mToolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        infoHint.setText("手机授权");
        infoEmailLayout.setVisibility(View.GONE);
        infoWbLayout.setVisibility(View.GONE);
        infoMobile.setVisibility(View.VISIBLE);
        infoQqTitle.setText("手机号");
        infoQqEt.setHint("您的手机号");
        infoWxTitle.setText("服务密码");
        infoWxEt.setHint("运营商登录密码");
    }

    @Override
    protected void initDate() {

    }

}
